package cn.iocoder.yudao.module.pickbook.controller.app.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Schema(description = "绘本用户 APP - 微信小程序登录 Request VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PickbookAuthWeixinLoginReqVO {

    @Schema(description = "微信登录code", requiredMode = Schema.RequiredMode.REQUIRED, example = "hello")
    @NotEmpty(message = "微信登录code不能为空")
    private String code;

    @Schema(description = "用户昵称", example = "用户昵称")
    private String nickname;

    @Schema(description = "用户头像", example = "https://example.com/avatar.jpg")
    private String avatar;

    @Schema(description = "state", example = "9b2ffbc1-7425-4155-9894-9d5c08541d62")
    private String state;

} 